package com.stand.hardcode.database;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public final class PMF {
	//We only need to get the factory once in the whole time the project is running
	private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional");

	private PMF() {
	}

	public static PersistenceManagerFactory get() {
		//Use this method to get the factory to use and store or retrieve data
		return pmfInstance;
	}
}
